<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'empresa-form',
	'enableAjaxValidation'=>false,
));
?>

	<p class="note"><?php echo t('Campos con','nucleo_etiqueta');?><span class="required">*</span> <?php echo t('son requeridos','nucleo_etiqueta');?>.</p>

	<?php 
		echo $form->errorSummary($model);
	?>
	<fieldset>
		<fieldset>
			<legend><?php echo t('Datos Basicos','persona_etiqueta')?></legend>
			<?php 
				$this->renderPartial(
										'/empresa/_empresa_personal',
										array(
												'form'=>$form,
												'model'=>$model,
										)
				);
			?>
		</fieldset>
	</fieldset>
	<fieldset>
			<legend><?php echo t('Direcci&oacute;n','direccion_etiqueta')?></legend>
		<?php
			$this->renderPartial(
									'/persona/_persona_direccion',
									array(
											'form'=>$form,
											'persona'=>$model,
										)
								);
		?>
		</fieldset>
		
		<fieldset>
			<legend><?php echo t('Comunicaci&oacute;n','comunicacion_etiqueta')?></legend>
		<?php
			$this->renderPartial(
									'/persona/_persona_comunicacion',
									array(
											'form'=>$form,
											'persona'=>$model,
											'entidad'=>'empresa',
										)
								);
		?>
		</fieldset>
		<fieldset>
			<div class="width_half buttons">
			<?php 
				echo CHtml::submitButton(t($model->isNewRecord ? 'Crear' : 'Guardar','nucleo_etiqueta'),array('class'=>'submit')); 
			?>
			</div>
		</fieldset>
	
	

<?php $this->endWidget(); ?>

</div><!-- form -->